package cn.laowen;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan(value = {"cn.laowen.system.listener"})
@MapperScan("cn.laowen.*.mapper")
//扫描加载权限的Listener
public class PetHomeApp {

    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class);
    }
}
